﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCYCReader.Base;
using WCYCReader.Models;

/**
 * 创建时间：2014/11/15 21:36:15
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace WCYCReader.ViewModels
{
     public class CategoryList_VM : WCYCBaseModel
    {
         private ObservableCollection<BookCategoryList_M> _T_CategoryList;

        public CategoryList_VM()
        {
            this.T_CategoryList_VM.Add(new BookCategoryList_M("61", "经济管理", "14", "/Resource/CategoryIcon/jingjiguanli.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("56", "生活时尚", "14", "/Resource/CategoryIcon/shenghuoshishang.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("54", "经典名著", "14", "/Resource/CategoryIcon/jingdianmingzhu.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("57", "青春文学", "14", "/Resource/CategoryIcon/qingchunwenxue.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("58", "成功励志", "14", "/Resource/CategoryIcon/chenggonglizhi.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("59", "人文社科", "14", "/Resource/CategoryIcon/renwensheke.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("55", "文化艺术", "14", "/Resource/CategoryIcon/wenhuayishu.png"));
           //
            this.T_CategoryList_VM.Add(new BookCategoryList_M("146", "穿越时空", "13", "/Resource/CategoryIcon/chuanyueshikong.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("3", "现代都市", "13", "/Resource/CategoryIcon/xiandaidushi.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("0", "玄幻奇幻", "13", "/Resource/CategoryIcon/xuanhuanqihuan.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("7", "游戏竞技", "13", "/Resource/CategoryIcon/youxijingji.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("4", "悬疑惊悚", "13", "/Resource/CategoryIcon/xuanyijingsong.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("2", "浪漫言情", "13", "/Resource/CategoryIcon/langmanyanqing.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("147", "青春校园", "13", "/Resource/CategoryIcon/qingchunxiaoyuan.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("1", "武侠仙侠", "13", "/Resource/CategoryIcon/wuxiaxianxia.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("6", "历史军事", "13", "/Resource/CategoryIcon/lishijunshi.png"));
            this.T_CategoryList_VM.Add(new BookCategoryList_M("5", "科幻空间", "13", "/Resource/CategoryIcon/kehuankongjian.png"));

        }

        public ObservableCollection<BookCategoryList_M> T_CategoryList_VM
        {
            get
            {
                if (this._T_CategoryList == null)
                {
                    this._T_CategoryList = new ObservableCollection<BookCategoryList_M>();
                }
                return this._T_CategoryList;
            }
            set
            {
                this._T_CategoryList = value;
                this.NotifyPropertyChanged<CategoryList_VM, ObservableCollection<BookCategoryList_M>>(p => p._T_CategoryList);
            }
        }
    }
}
